package logic.configuration;

public class CommandSpec {
	private String id;
	private String name;
	private String handlerClass;
	private String key;
	private String icon;
	private String hint;	//probably not a perfect design

	public CommandSpec(String id, String name, String handlerClass, String key, String icon, String hint) {
		this.id = id;
		this.name = name;
		this.handlerClass = handlerClass;
		this.key = key;
		this.icon = icon;
		this.hint = hint;
	}
	
	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @return the key
	 */
	public String getKey() {
		return key;
	}
	/**
	 * @return the icon
	 */
	public String getIcon() {
		return icon;
	}
	
	public String getHandlerClass() {
		return handlerClass;
	}
	/**
	 * @return the hint
	 */
	public String getHint() {
		return hint;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "CommandSpec [id=" + id + ", name=" + name + ", handlerClass="
				+ handlerClass + ", key=" + key + ", icon=" + icon + ", hint="
				+ hint + "]";
	}
}
